package com.itjiange;

/**
 * 采购电脑人员
 *
 * @author ItJianGe
 * @data 2024/8/22 10:33
 */
public class Purchase extends AbstractColleague {

    public Purchase(Mediator mediator) {
        super(mediator);
    }

    /**
     * 采购电脑
     */
    public void purchaseComputer(int number) {
        System.out.println("开始采购电脑！");
        super.mediator.purchaseByComputer(number);
    }

    /**
     * 停止采购电脑
     */
    public void stopPurchasingComputer() {
        System.out.println("停止采购电脑！");
    }
}
